<top-title title="{{::title}}" icon="am-icon-user" mh-click=""></top-title>
<div class="">
    <div class="am-panel am-panel-default">
        <div class="am-panel-hd" style="background-color: #e5e8e1;">
            <h3 class="mh-margin-none am-text-truncate sm-block-grid-3">
                <span class="am-u-sm-3">供应商</span>
                <span class="am-u-sm-3">材料费</span>
                <span class="am-u-sm-3">人工费</span>
                <span class="am-u-sm-3">操作</span>
            </h3>
        </div>
        <div class="am-panel-bd mh-padding-none">
            <ul class="am-list mh-margin-none am-list-border am-list-striped">
                <li class="am-g" ng-repeat="s in suppliers">
                        <div class="am-u-sm-12 am-padding-bottom-xs">
                            <h6 class="am-margin-bottom-xs">
                                <!--<div class="am-u-sm-3" ng-if="supplier.name">{{::s.relation.supplier.name}}</div>-->
                                <div class="am-u-sm-3">供应商{{$index+1}}</div>
                                <span class="am-u-sm-3 am-fl  am-text-danger ng-binding">{{::s.relation.price}}</span>
                                <span class="am-u-sm-3 am-fl  am-text-danger ng-binding">{{::s.relation.pprice}}</span>
                                <div class="am-u-sm-3">
                                    <button type="button" class="am-btn am-btn-success am-btn-xs am-radius am-padding-xs" ng-click="materialDetails(s)" >详情</button>
                                    <button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-padding-xs" ng-click="materialAdd(s)" >添加</button>
                                </div>

                            </h6>
                            <!--<h4 class="mh-margin-none mh-text-lightcolor">{{::c.regtime.time | date:'yyyy-MM-dd HH:mm'}}</h4>-->
                        </div>
                </li>

            </ul>
        </div>
    </div>
</div>